diff options
Diffstat (limited to 'app/[lng]')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/(master-data)/pq-criteria/[pqListId]/page.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/[lng]/evcp/(evcp)/(master-data)/pq-criteria/[pqListId]/page.tsx b/app/[lng]/evcp/(evcp)/(master-data)/pq-criteria/[pqListId]/page.tsx index 15cb3bf3..cc356f0e 100644 --- a/app/[lng]/evcp/(evcp)/(master-data)/pq-criteria/[pqListId]/page.tsx +++ b/app/[lng]/evcp/(evcp)/(master-data)/pq-criteria/[pqListId]/page.tsx @@ -4,7 +4,7 @@ import { getValidFilters } from "@/lib/data-table" import { DataTableSkeleton } from "@/components/data-table/data-table-skeleton"
import { Shell } from "@/components/shell"
import { searchParamsCache } from "@/lib/pq/validations"
-import { getPQsByListId } from "@/lib/pq/service"
+import { getPQsByListId, getPQListInfo } from "@/lib/pq/service"
import { PqsTable } from "@/lib/pq/pq-criteria/pq-table"
import { notFound } from "next/navigation"
@@ -26,12 +26,13 @@ export default async function PQDetailPage(props: PQDetailPageProps) { // filters가 없는 경우를 처리
const validFilters = getValidFilters(search.filters)
- // PQ 항목들 가져오기
+ // PQ 리스트 정보와 항목들 가져오기
const promises = Promise.all([
getPQsByListId(pqListId, {
...search,
filters: validFilters,
- })
+ }),
+ getPQListInfo(pqListId)
])
return (
|
